import React, { useState } from 'react';
import { InputNumberCustom } from 'xuanyue';
import './App.less';

export default () => {
  const [value, setValue] = useState('');
  return (
    <div>
      <InputNumberCustom
        style={{ width: '200px' }}
        value={value}
        onChange={(i) => {
          setValue(i);
        }}
      />
    </div>
  );
};
